package com.industrial.im.mapper;

import com.industrial.im.domain.YsXxTs;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface YsXxTsMapper {
    void insert(YsXxTs ysXxTs);

    List<YsXxTs> selectListByUserId(@Param("userId") String userId);

    @Delete("delete from ys_xx_ts where user_id = #{userId}")
    void clearYsXxts(@Param("userId") String userId);

    @Delete("delete from ys_xx_ts where user_id = #{userId}")
    void deleteByUserId(@Param("userId") String userId);

}
